package com.atshiyou.service.impl;

import com.atshiyou.bean.BillType;
import com.atshiyou.dao.BillTypeMapper;
import com.atshiyou.service.BillTypeService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class BillTypeServiceImpl implements BillTypeService {

    @Resource
    private BillTypeMapper dao;

    @Override
    public List<BillType> getTypes() {
        return dao.getTypes();
    }
}
